import Vue from 'vue'
import '../theme/index.css'
import {
  Button,
  Container,
  Aside,
  Main,
  Footer,
  Menu,
  Header,
  Submenu,
  MenuItem,
  MenuItemGroup,
  Form,
  FormItem,
  Input,
  Message,
  MessageBox,
  Row,
  Col,
  Dropdown,
  DropdownItem,
  DropdownMenu,
  Card,
  DatePicker,
  RadioGroup,
  RadioButton,
  Tooltip, Popconfirm, Loading, Pagination, Table, TableColumn, TabPane, Tabs
} from 'element-ui'



Vue.use(Container)
Vue.use(Header)
Vue.use(Button)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(Footer)
Vue.use(MenuItemGroup)
Vue.use(Submenu)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Row)
Vue.use(Col)
Vue.use(Dropdown)
Vue.use(DropdownItem)
Vue.use(DropdownMenu)
Vue.use(Card)

//MyProject使用的组件
Vue.use(DatePicker)
Vue.use(RadioGroup)
Vue.use(RadioButton)
Vue.use(Tooltip)
Vue.use(Popconfirm)
Vue.use(Loading)
Vue.use(Pagination)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Tabs)
Vue.use(TabPane)

Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
